<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>数据查询</title>
<link href="../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
<link href="../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
<link href="../css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
<link href="../css/animate.min.css" rel="stylesheet">
<link href="../css/style.min862f.css?v=4.1.0" rel="stylesheet">
<link href="../css/bootstrap-select.css" rel="stylesheet" />
<link href="../css/plugins/datapicker/bootstrap-datetimepicker.css" rel="stylesheet" />
<link href="../css/plugins/datapicker/datepicker3.css" rel="stylesheet" />
<link href="../css/plugins/sweetalert/sweetalert.css" rel="stylesheet">

<script src="../js/jquery.min.js?v=2.1.4"></script>
<script src="../js/bootstrap.min.js?v=3.3.6"></script>
<script src="../js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="../js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="../js/plugins/layer/layer.js"></script>
<script src="../js/bootstrap-select.js"></script>
<script src="../js/plugins/datapicker/bootstrap-datetimepicker.js"></script>
<script src="../js/plugins/datapicker/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="../js/plugins/datapicker/bootstrap-datepicker.js"></script>
<script src="../js/tableExport.js"></script>
<script src="../js/xlsx.core.min.js"></script>
<script src="../js/FileSaver.js"></script>
<script src="../js/jquery.base64.js"></script>
<script src="../js/plugins/sweetalert/sweetalert.min.js"></script>
<!-- script src="../js/plugins/bootstrap-table/bootstrap-table-export.js"></script -->
</head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<!-- Panel Other -->
		<div class="ibox float-e-margins">
			<div class="ibox-content">
				<div class="row row-lg">
					<div class="col-sm-12">
						<!-- Example Events -->
						<div class="example-wrap">
							<h4 class="example-title">数据查询</h4>
							<div class="example">
								<div class="btn-group hidden-xs" id="exampleTableEventsToolbar"
									role="group">
									<div role="" class="form-inline">
										<div class="form-group">
											<label for="starttimeHour" class="control-label">开始时间:</label>
											<input id='starttimeHour' class="form-control datetimePicker"
												value="" placeholder="选择时间"></input> <label
												for="endtimeHour" class="control-label">结束时间:</label> <input
												id='endtimeHour' class="form-control datetimePicker"
												value="" placeholder="选择时间"></input>
											<!-- label for="cmdPwd" class="control-label">重启密码:</label>
											<input type="password" id='cmdPwd' class="form-control" value="" placeholder="重启密码"></input -->
											<div class="radio i-checks">
	                                        	<label>
	                                            <input type="radio" value="1" checked="true" name="data_type"> <i></i>分钟</label>
		                                    </div>
		                                    <div class="radio i-checks">
		                                        <label>
		                                        <input type="radio" value="2" name="data_type"> <i></i>小时</label>
		                                    </div>
		                                    <div class="radio i-checks">
		                                        <label>
		                                        <input type="radio" value="3" name="data_type"> <i></i>日</label>
		                                    </div>
										</div>
										<button id='queryButton' onclick="query()"  class="btn btn-primary" type="">
											<strong>查 询</strong>
										</button>
										<button id='exportButton' onclick="exportExcel()" class="btn btn-primary" type="">
											<strong>导 出</strong>
										</button>
										<button id='importButton' onclick="importExcelDiv()" class="btn btn-primary" type="">
											<strong>导 入</strong>
										</button>
										<!-- button id='btnReboot' onclick="reboot()" class="btn btn-primary" type="">
											<strong>重启设备</strong>
										</button -->
										<!-- button id='btnProgReboot' onclick="prog_reboot()" class="btn btn-primary" type="">
											<strong>重启程序</strong>
										</button -->
									</div>
								</div>
								<table id="exampleTableEvents" data-height="600"
									data-mobile-responsive="true" data-export-types="['excel']"></table>
							</div>
						</div>
						<!-- End Example Events -->
					</div>
				</div>
			</div>
		</div>
		<!-- End Panel Other -->
	</div>
	<div class="modal fade" id="importExcelDiv" role="dialog"> 
		<div class="modal-dialog"> 
			<div class="modal-content"> 
				<div class="modal-header"> 
					<button type="button" class="close" data-dismiss="modal">&times;</button> 
					<h4 class="modal-title">导入数据</h4> 
				</div> 
				<div id="importExcelDivModal" class="modal-body">
					<div role="" class="form-inline">
						<div class="form-group">
							<div class="radio i-checks">
		                    	<label>
		                        <input type="radio" value="1" checked="true" name="import_data_type"> <i></i>分钟</label>
		                    </div>
		                    <div class="radio i-checks">
		                        <label>
		                        <input type="radio" value="2" name="import_data_type"> <i></i>小时</label>
		                    </div>
		                    <div class="radio i-checks">
		                        <label>
		                        <input type="radio" value="3" name="import_data_type"> <i></i>日</label>
		                    </div>
						</div>
					</div>		
					<form id="updForm" name="updForm" onsubmit="return false;">
				          <input id="fileExcel" class="btn btn-primary" style="WIDTH: 200px" type="file" name="fileExcel" />
				    </form>
				</div> 
				<div class="modal-footer"> 
					<div class="center-block">
						<button id="importExcel" type="button" class="btn btn-success" data-dismiss="modal">导入</button>
						<button id="cancelImportExcel" type="button" class="btn btn-default" data-dismiss="modal">取消</button> 
					</div> 
				</div> 
			</div> 
		</div> 
	</div>
	<script charset="utf-8" type="text/javascript" src="../js/common.js"></script>
	<script src="a2.js"></script>
</body>
</html>